Internet Explorer's filters

With Microsoft Internet Explorer you can use filters to add special effects to your menu (other browsers will silently skip these effects). Effects can be applied to all levels including the toplevel:

sub:[
    {levelFilters:'progid:DXImageTransform.Microsoft.Alpha(opacity=70)'},
    {code:'Item 1'},
    {code:'Item 2'},
    {code:'Item 3'}
]

Several filters can be applied to the same level. In this case they must be separated with spaces:

{levelFilters:'progid:DXImageTransform.Microsoft.Alpha(opacity=70) progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#CCCCCC,strength=5)'},

Internet Explorer also supports transitions (see demo).

For more information on filters and transitions, please read this article at MSDN: Introduction to Filters and Transitions.

Copyright © CoolDev.Com 1997-2007.